package com.hvtt.web.utilities;

public class ConstClass {

    public enum Email {

        HTML_MESSAGE {
            @Override
            public String toString() {
                return "HTML_MESSAGE";
            }
        },
        PLAIN_TEXT {
            @Override
            public String toString() {
                return "PLAIN_TEXT";
            }
        }
    }

    public enum OpenId {

        FACEBOOK {
            @Override
            public String toString() {
                return "Facebook";
            }
        },
        TWITTER {
            @Override
            public String toString() {
                return "Twitter";
            }
        },
        GOOGLE {
            @Override
            public String toString() {
                return "Google";
            }
        }
    }
    
    public enum UIID {

        COMPONENT_ROOT_ID {
            @Override
            public String toString() {
                return "contentUI";
            }
        },
        COMPONENT_ROOT_FORM_ID {
            @Override
            public String toString() {
                return "contentForm";
            }
        }
    }
    public static final String HVTT_SESSION_TIMEOUT = "HVTT-SESSION-TIMEOUT";
    public static final String KEY_MESSAGE_ERROR = "errorMsg";
    public static final String URL_ERROR_PAGE = "../errorpage/errException.html";
    public static final String CURRENT_SESSION_USER = "CURRENT_SESSION_USER";
    public static String DATE_FORMAT_NOW = "dd-MM-yyyy HH:mm:ss";
    public static final String LANGUAGES_DEFAULT = "VN";
    //upload files
    public static final String UPLOAD_FILE_PATH = "com.hvtt.param.uploadFilePath";
    public static final String UPLOAD_FILE_PATH_USER = "com.hvtt.param.users.uploadFilePath";
    public static final String UPLOAD_FILE_URL_USER = "com.hvtt.param.users.uploadFileURL";
    public static final String UPLOAD_FILE_TEMPS = "com.hvtt.param.uploadFilePath.Temps";
}
